package cn.tj212.xiaoyin.common.storage;


import cn.tj212.xiaoyin.common.util.CommonUtil;

import java.text.MessageFormat;

public class QiniuKeyGenerator {

    private static final String KEY="/{0}/{1}/{2}/{3}";//多图片可以按照表名/字段名/业务值（refId）/时间戳处理

    public static String generateKey() {
        return MessageFormat.format(KEY,"default","all","0",CommonUtil.getUID());
    }
}
